package com.foreknow.demo8;

public class C {
    public static void testG() {
        A.testA();
    }

    public static String testH() {
        return A.testD("tom");
    }

    public static void testI() {
        String[] array = {"aa","bb","cc"};
        B.testE(array);
    }

    public static int[] testJ() {
        return B.testF();
    }

    public static void main(String[] args) {
        C.testG();
        String result = C.testH();
        System.out.println(result);
        C.testI();
        System.out.println("------------------------------------------");
        int[] arrResult = C.testJ();
        for (int i = 0;i<arrResult.length;i++){
            System.out.println(arrResult[i]);
        }
    }
}
